<body onload="runTest()">
<script> 
  function runTest()
  {
      parent.opener.onFrameLoaded(2);
      // Make sure we generate a history entry
      setTimeout(function() {location.href = 'history-subframe-with-name-3.html';}, 0);
  }
</script>
FAIL: frame 2
</body>